<!doctype html>
<html>
{include file="head.html"}
<body>
<div class="header" >
     <a  class="left-btn pointer" href="{$appadmin}?m=tixian"><span class="iconfont icon-back"></span></a>
    <div class="title">提现记录</div>     
 
  </div>
  <div class="box960">
  {get data=status_list model=tixian fun=status_list()} 
 <table  class="table">
 	<tr>
    	<td>现金额: {$data.money}  {$status_list[$data.status]}</td>
        <td>银行卡号码:{$data.yhk_haoma}</td>
    </tr>
    <tr>
    	<td>银行卡户名:{$data.yhk_huming}</td>
        <td>银行名称:{$data.yhk_name}</td>
    </tr>
    
    <tr>
    	<td>开户地址:{$data.yhk_address}</td>
        <td>联系电话:{$data.telephone}</td>
    </tr>
    
    <tr>
    	<td colspan="2">
        <div class="textarea-row">
  	<label>备注</label>
    <textarea name="info" type="text" id="info" value="100"  >{$data.info}</textarea>
    
  </div>
        </td>
         
    </tr>    
    
 </table>
 
 <!--订单操作-->
<h2 class="index-hd">订单操作</h2>
<h4 style="color:red">订单状态：{$status_list[$data.status]}</h4>
{if $data.status eq 0}
<form method="post" action="{$appadmin}?m=tixian&a=confirm" class="form form-inline ">
<input type="hidden" name="id" value="{$data.id}" />
<table class="table table-bordered">
<tr>
<td> 订单<br />确认 </td>
<td>操作日志：<span class="input-append"><input type="text" name="content" value="{$admin.username}确认了订单" class="w400" /><button type="submit" class="btn btn-success">确认下单</button></span></td>
</tr>
</table>
</form>
{/if}
 

{if $data.status<3}
<form method="post" action="{$appadmin}?m=tixian&a=send" class="form form-inline ">
<input type="hidden" name="id" value="{$data.id}" />
<table class="table table-bordered">
<tr>
<td> 确认<br />支付 </td>
<td>
 
操作日志：<span class="input-append">
<input type="text" name="content" value="{$admin.username}确认支付了" class="w400" /><button type="submit" class="btn btn-success">确认支付</button></span></td>
</tr>
</table>
</form>


<form method="post" action="{$appadmin}?m=tixian&a=finish" class="form form-inline " onsubmit="return confirm('订单确认完成后订单不能再编辑，确认完成吗？');">
<input type="hidden" name="id" value="{$data.id}" />
<table class="table table-bordered">
<tr>
<td> 订单<br />完成 </td>
<td>操作日志：<span class="input-append"><input type="text" name="content" value="{$admin.username}确认订单完成了" class="w400" /><button type="submit" class="btn btn-success">确认完成</button></span></td>
</tr>
</table>
</form>

<form method="post" action="{$appadmin}?m=tixian&a=cancel" class="form form-inline " onsubmit="return confirm('订单取消后不可恢复，并且会将订单金额返还给客户，确认取消吗？');">
<input type="hidden" name="id" value="{$data.id}" />
<table class="table table-bordered">
<tr>
<td> 取消<br />订单 </td>
<td>
<p>原因：<input type="text" name="message" value="" class="w400" />
<br /></p>
操作日志：<span class="input-append"><input type="text" name="content" value="{$admin.username}取消了订单" class="w400" /><button type="submit" class="btn btn-success">订单取消</button></span></td>
</tr>
</table>
</form>
{/if}

{if $data.status eq 0 or $data.status eq 10}
<form method="post" action="{$appadmin}?m=tixian&a=delete" class="form form-inline " onsubmit="return confirm('订单删除后不可恢复，确认删除吗？');">
<input type="hidden" name="id" value="{$data.id}" />
<table class="table table-bordered">
<tr>
<td> 删除<br />订单 </td>
<td>
<p>原因：<input type="text" name="message" value="" class="w400" />
<br /></p>
操作日志：<span class="input-append"><input type="text" name="content" value="{$admin.username}删除了订单" class="w400" /><button type="submit" class="btn btn-success">确认删除</button></span></td>
</tr>
</table>
</form>
{/if} 
 	 
  </div>
  
  
  

</body>
</html>
